%Chapter 2 Application Project: Dominance Matrices
disp('Type B for the Big 12 2001 football results.')
disp('Type S for the Southeast Conference 2001 football results.')
disp('Type nfl for the 2001-02 NFL season.')


%B : Big 12 2001 football results

B=[0	0	0	0	0	0	0	0	0	0	0	0;...
	0	0	1	1	1	1	1	0	1	0	1	0;...
	1	0	0	1	0	1	0	0	1	0	0	0;...
	0	0	0	0	0	0	0	0	0	0	0	1;...
	0	0	1	1	0	1	0	0	0	0	0	0;...
	1	0	0	1	0	0	0	0	1	0	0	0;...
	1	0	1	1	1	1	0	1	0	0	0	1;...
	1	0	0	1	1	0	0	0	0	1	1	1;...
	1	0	0	0	0	0	0	1	0	0	0	0;...
	1	1	0	1	0	1	0	0	1	0	1	1;...
	1	0	1	0	1	0	0	0	1	0	0	0;...
	1	0	0	0	1	0	0	0	1	0	1	0];

%S : Southeast Conference 2001 football results

S = [0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1 ; ...
	0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0 ;...
	0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1 ;...
	0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1 ;...
	0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1 ;...
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ;...
	1, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0 ;...
	1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1 ;...
	0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0 ;...
	1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1 ;...
	1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1 ;...
	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];

%nfl : NFL results for 2001-02 football season

nfl=[0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
      0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0; ...
      2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
      0, 0, 0, 0, 0, 1, 0, 0, 0, 0; ...
      2, 2, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, ...
      0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0; ...
      2, 2, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, ...
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0; ...
      1, 1, 2, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, ...
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0; ...
      0, 1, 0, 0, 0, 0, 1, 0, 2, 1, 2, 1, 0, 0, 0, 0, 0, ...
      0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0; ...
      0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, ...
      0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0; ...
      0, 0, 0, 0, 0, 2, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, ...
      0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0; ...
      0, 0, 0, 0, 0, 0, 2, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, ...
      0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0; ...
      1, 0, 0, 0, 1, 1, 1, 2, 1, 0, 2, 0, 1, 0, 0, 0, 0, ...
      0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0; ...
      0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, ...
      0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0; ...
      0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, ...
      1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; ...
      0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 2, 1, 0, ...
      0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; ...
      0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 2, 1, 0, ...
      1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; ...
      1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ...
      1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; ...
      1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 2, 0, 0, ...
      1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; ...
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, ...
      1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0; ...
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, ...
      0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1; ...
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 2, ...
      1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0; ...
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, ...
      2, 2, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0; ...
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 2, ...
      0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0; ...
      0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, ...
      0, 0, 0, 1, 0, 2, 0, 2, 2, 1, 0, 0, 0, 1; ...
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
      1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0; ...
      0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
      0, 1, 0, 1, 2, 2, 0, 1, 1, 0, 1, 0, 0, 0; ...
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ...
      0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0; ...
      0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
      1, 0, 0, 0, 0, 2, 1, 1, 0, 0, 0, 1, 1, 0; ...
      1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, ...
      1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 1, 0, 0; ...
      0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
      0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0; ...
      1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
      0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 2, 0, 1, 0; ...
      0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
      0, 1, 1, 0, 0, 1, 0, 0, 0, 2, 2, 1, 0, 2; ...
      1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
      0, 0, 1, 0, 0, 1, 0, 0, 0, 2, 2, 2, 0, 0];

